8.8
HIGH CVSS 3.1
CVE-2026-2005
PostgreSQL pgcrypto heap buffer overflow executes arbitrary code
Description

Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

INFO

Published Date :

Feb. 12, 2026, 2:16 p.m.

Last Modified :

Feb. 20, 2026, 7:54 p.m.

Remotely Exploit :

No

Source :

f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Affected Products

The following products are affected by CVE-2026-2005 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Postgresql postgresql
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS 3.1 HIGH MITRE-CVE
Solution
Update PostgreSQL to a patched version to fix a heap buffer overflow vulnerability.
  • Upgrade PostgreSQL to version 18.2 or later.
  • Upgrade PostgreSQL to version 17.8 or later.
  • Upgrade PostgreSQL to version 16.12 or later.
  • Upgrade PostgreSQL to version 15.16 or later.
Public PoC/Exploit Available at Github

CVE-2026-2005 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-2005.

URL Resource
https://www.postgresql.org/support/security/CVE-2026-2005/ Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-2005 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-2005 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 week ago
0 stars 0 fork 0 watcher
Born at : May 23, 2026, 3:22 p.m. This repo has been linked 4 different CVEs too.

None

Updated: 1 week ago
0 stars 0 fork 0 watcher
Born at : May 23, 2026, 3:22 p.m. This repo has been linked 1 different CVEs too.

Actively exploited CVE scanners from CISA KEV + Twitter trends - Drupal SQLi, PAN-OS RCE, Android ADBD, GHE RCE, BeyondTrust, Defender, and more

Python

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : May 22, 2026, 8:42 p.m. This repo has been linked 11 different CVEs too.

May 2026 trending CVE scanners - PAN-OS, WordPress, BeyondTrust, GHE, ingress-nginx

Python

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : May 22, 2026, 7:34 p.m. This repo has been linked 20 different CVEs too.

PoC for CVE-2026-2005

Python

Updated: 1 week, 5 days ago
17 stars 1 fork 1 watcher
Born at : May 13, 2026, 3:29 p.m. This repo has been linked 1 different CVEs too.

A home lab vulnerabillity assessment using Nessus Essentials. Scanned a local network of 4 machines (Windows Server, Windows 10, Ubuntu Server, Kali Linux and documented findings using CVSS v3.0 severity scoring

Updated: 2 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : May 13, 2026, 10:27 a.m. This repo has been linked 7 different CVEs too.

None

Shell

Updated: 3 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : May 4, 2026, 5:37 p.m. This repo has been linked 1 different CVEs too.

Hands-on vulnerability assessment project using Tenable Nessus Essentials on a home lab environment

Updated: 4 weeks ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 8:18 a.m. This repo has been linked 7 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-2005 vulnerability anywhere in the article.

  • TheCyberThrone
CVE-2026-45659 — Microsoft SharePoint RCE

May 26, 2026OverviewDeserialization of untrusted data in Microsoft Office SharePoint allows an authenticated attacker to execute code remotely over a network. Any authenticated attacker with a minimum ... Read more

Published Date: May 26, 2026 (4 days, 6 hours ago)
  • TheCyberThrone
CVE-2026-9082 – Drupal Core SQL Injection

May 24, 2026CVE-2026-9082 is a highly critical SQL injection vulnerability in Drupal core’s database abstraction API, specifically in the PostgreSQL EntityQuery condition handler. An unauthenticated, ... Read more

Published Date: May 24, 2026 (6 days, 10 hours ago)
  • TheCyberThrone
CVE-2026-2005 | PostgreSQL pgcrypto — Heap Buffer Overflow

May 24, 2026Vulnerability SummaryCVE-2026-2005 is a heap buffer overflow vulnerability in the PostgreSQL pgcrypto extension. A ciphertext provider can trigger the overflow to execute arbitrary code as ... Read more

Published Date: May 24, 2026 (6 days, 15 hours ago)
  • CybersecurityNews
PoC Exploit Released for 20-Year Old PostgreSQL RCE Vulnerability

A proof-of-concept (PoC) exploit has been publicly released for CVE-2026-2005, a critical remote code execution (RCE) vulnerability affecting PostgreSQL’s pgcrypto extension. The flaw, rooted in legac ... Read more

Published Date: May 20, 2026 (1 week, 3 days ago)
  • Daily CyberSecurity
PostgreSQL Fixes 5 Security Flaws Including Critical Code Execution Risks

The PostgreSQL Global Development Group has issued a critical alert for database administrators worldwide, releasing a comprehensive update to address five distinct security vulnerabilities. The patch ... Read more

Published Date: Feb 18, 2026 (3 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2026-2005 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Feb. 20, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 18.0 up to (excluding) 18.2 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 14.0 up to (excluding) 14.21 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 15.0 up to (excluding) 15.16 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 16.0 up to (excluding) 16.12 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 17.0 up to (excluding) 17.8
    Added Reference Type PostgreSQL: https://www.postgresql.org/support/security/CVE-2026-2005/ Types: Vendor Advisory
  • New CVE Received by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

    Feb. 12, 2026

    Action Type Old Value New Value
    Added Description Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-122
    Added Reference https://www.postgresql.org/support/security/CVE-2026-2005/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.